for i in range(26, 50):
    print("./build/Garnet_standalone/gem5.opt configs/example/garnet_synth_traffic.py \\")
    print("--network=garnet \\")
    print("--num-cpus=16 \\")
    print("--num-dirs=16 \\")
    print("--mesh-rows=4 \\")
    print("--topology=Mesh_XY \\")
    print("--sim-cycles=200000 \\")
    print("--inj-vnet=0 \\")
    print("--routing-algorithm=2 \\")
    print("--injectionrate=",i*0.02," \\",sep='')
    print("--synthetic=uniform_random")
    print("echo >> custom_routing.txt")
    print("echo \"now  ",i*0.02," : \" >> custom_routing.txt",sep='')
    print("grep \"average_packet_latency\" m5out/stats.txt | sed 's/system.ruby.network.average_packet_latency\s*/average_packet_latency = /' >> custom_routing.txt")
    print()
